package com.tansun.easycare.rule.policytree.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.tansun.easycare.rule.rulemange.entity.RuleManage;

public class PolicyTreeModel implements Serializable {

    private static final long serialVersionUID = 5832154959626050481L;


    private RuleManage policyTreeModel;

    /**
     * 决策键
     */
    private List<PolicyTreeKey> policyTreeKey;
    /**
     * 树形
     */
    private List<PolicyTreeItem> policyTreeItem;
    /**
     * 动作场景
     */
    private List<PolicyTreeScene> actionScene;

    public RuleManage getPolicyTreeModel() {
        return policyTreeModel;
    }

    public void setPolicyTreeModel(RuleManage policyTreeModel) {
        this.policyTreeModel = policyTreeModel;
    }

    public List<PolicyTreeKey> getPolicyTreeKey() {
        if (policyTreeKey == null) {
            policyTreeKey = new ArrayList();
        }
        return policyTreeKey;
    }

    public void setPolicyTreeKey(List<PolicyTreeKey> policyTreeKey) {
        this.policyTreeKey = policyTreeKey;
    }

    public List<PolicyTreeItem> getPolicyTreeItem() {
        if (policyTreeItem == null) {
            policyTreeItem = new ArrayList();
        }
        return policyTreeItem;
    }

    public void setPolicyTreeItem(List<PolicyTreeItem> policyTreeItem) {
        this.policyTreeItem = policyTreeItem;
    }

    public List<PolicyTreeScene> getActionScene() {
        if (actionScene == null) {
            actionScene = new ArrayList();
        }
        return actionScene;
    }

    public void setActionScene(List<PolicyTreeScene> actionScene) {
        this.actionScene = actionScene;
    }


}
